package service.impl;

import dao.IAdminDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pojo.Admin;
import service.IAdminService;

@Service
public class AdminServiceImpl implements IAdminService {

    @Autowired
    private IAdminDao adminDao;

    public Admin login(String name, String pass) {
        return adminDao.login(name, pass);
    }
}
